Premise:1. Install Ubuntu2. use vagrant+virtualbox to build the EdX Developer Stackon ubuntn and to successfully access3. Pycharm-3.4.1 is installed and activated successfully under Ubuntu4. future development in Ubuntu environmentPreparatory work:1. convert path to native /devstack/2. turn on vagrantand enter the command:Vagrantup3. using ssh connection vagrant, enter the command:Vagrantssh4. give the edxapp account A password, enter the command:SU
Open Online education platform EdX opened in June this year, when the Google group method "clean install on Ubuntu Server 12.04" in a brand new VPS installed A, although the final installation was successful, but also spent some trouble, Finally, the overall impression of the edx system is somewhat bloated, dependent on too much, not too lightweight.
A few days ago a friend of Peking University in the insta
After practicing for several days edx Devstack, found himself e is still so poor, if and I like, continue to look down, otherwise you can gently drift over ~1. Run the edx devstackCd/devstackVagrant upVagrant SSH(The above should be more familiar with:)This article refer to Https://github.com/edx/edx-platform/wiki/Inte
Label: Ar c working time r as Rom net 5CATEGORY first, 1. skill category; 2. improvement category; 3. Interest category.I have completed the first six courses of Andrew Ng ml, UW computer network, and dataset cience on Coursera.In the future, the service will be guaranteed to be 25 hours a week, with an average of 2.5-3 hours per working day and 11 hours on weekends. In this way, three courses can be conducted at the same time in less than ten weeks, it also needs to be arranged according to the
Note: During addition calculation, it is actually performed on a 32-bit accumulators, and pay attention to the conversion between types. Data truncation problems generally include ax, BX, CX, Dx.
Ax: cumulative latches, Bx: Base latches, CX: Count latches, DX: Data latches
Index latches: Si and Di
Si: source index storage, DI: Destination index Storage
Stack and base latches: SP and BP
SP: stacked indicator latches, BP: Base Indicator latches
Eax, ECx,
Functions of EAX, ECX, EDX, and EBX registers, ecxebx
General registers: AX, BX, CX, DXAX: cumulative latches, BX: Base latches, CX: Count latches, DX: Data latchesIndex latches: SI and DISI: source index storage, DI: Destination index StorageStack and base latches: SP and BPSP: stacked indicator latches, BP: Base Indicator latchesEAX, ECX, EDX, and EBX: extensions of ax, bx, cx, and dx, each of which is 32
Recently, due to work, an open EdX instance was installed in Ubuntu virtual machine on Azure, and the installation process encountered a lot of problems, and learned different knowledge in the process of finding the answer from the Internet.Create an authentication certificate file for SSHWhen connecting to an Ubuntu virtual machine using the Putty (http://www.putty.org/) tool, two options are available for authentication: username + password; Another
Eax, EBX, ECx, EDX, ESI, EDI, EBP, ESP, etc. are the names of General registers on the CPU in x86 assembly language, and are 32-bit registers. These registers can be viewed as variables in C language.
For example:Add eax,-2;// It can be considered that a value such as-2 is added to the variable eax.
These 32-bit registers have multiple purposes, but each of them has "expertise" and has its own special features.
EaxIt is an accumulator, which is t
From: http://hi.baidu.com/helloembed/blog/item/2fd65453843120511038c21a.html
Eax, EBX, ECx, EDX, ESI, EDI, EBP, ESP, etc. are the names of General registers on the CPU in x86 assembly language, and are 32-bit registers. These registers can be viewed as variables in C language.
For example: Add eax,-2; // it can be considered to be a value such as-2 added to the variable eax.
These 32-bit registers have multiple purposes, but each of them has "experti
Organize from the Internet
Eax, EBX, ECx, EDX, ESI, EDI, EBP, ESP, etc. are the names of General registers on the CPU in x86 assembly language, and are 32-bit registers. These registers can be viewed as variables in C language.
For example: Add eax,-2; // it can be considered to be a value such as-2 added to the variable eax.
These 32-bit registers have multiple purposes, but each of them has "expertise" and has its own special features.
Eax is the ac
Assume is s a string of lower case characters.Write A program This prints the longest substring of in s which the letters occur in alphabetical order. For example, if s = ‘azcbobobegghakl‘ , then your program should printLongest substring in
Linux x86 inline assembly-general Linux technology-Linux programming and kernel information. The following is a detailed description. Bharata B. Rao provides a general introduction to using and constructing x86 inline assembly on the Linux platform. He introduced the basic knowledge of inline assembly and its usage, pr
Movl $1, % eax # system call number (sys_exit)
Int $0x80 # Call the kernel function
When I first came into contact with ATT-formatted assembly code, many programmers thought it was too obscure. It doesn't matter. On the Linux platform, you can also use the Intel format to compile the assembly program:
Example 2. Intel format
; Hello. asm
Section. data; data segment Declaration
Msg db "Hello, world! ", 0xA; string to be output
Len equ $-msg; St
state transition.
on each platform, there is a specific directive that converts the execution of a process from user state to a core state, which is called the Operating system trap (operating system traps). After the process has been executed into the command, it can run the system call code in the kernel mentality.
In Linux it is through soft interrupts to achieve this, on the x86 platform, this instruction is int 0x80. That is, in
assembly code, many programmers thought it was too obscure. It doesn't matter. On the Linux platform, you can also use the Intel format to compile the assembly program:
Example 2. Intel format
; Hello. ASMSection. data; data segment DeclarationMsg db "Hello, world! ", 0xa; string to be outputLen equ $-MSG; String Length
Section. Text; code segment DeclarationGlobal _ start; specifies the entry function
_ Start:; display a string on the screenMoV
Linux Kernel Analysis Course summaryName: Wang ZhaoxianStudy No.: 20135114Note: Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000First, how the computer works 个人理解:计算机就是通过和用户进行交互,执行用户的指令,这些指令存放在内存中,通过寄存器存储,堆栈变化,来一步步顺序执行。Second, the storage program computer working model1.冯诺依曼体系结构—存储程序计算机 硬件角度(主板):通过cpu中IP寄存器指向一个代码
command to return the user-state. After the user State is returned, ESP, EDX, and ECx are extracted from the stack, and the glibc library is returned.Support for other operating systems and other hardware platformsIt is worth mentioning that, starting from Windows XP, the Windows System Call method also changes from Soft Interrupt int 0x2e to sysenter mode, because int mode is not supported at all, therefore, the Minimum CPU configuration required fo
program movl $0, % EBX # parameter 1: Exit code movl $1, % eax # system call number (sys_exit) int $0x80 # Call the kernel function
When I first came into contact with att-formatted assembly code, many programmers thought it was too obscure. It doesn't matter. On the Linux platform, you can also use the Intel format to compile the assembly program:
Example 2. Intel format
; Hello. ASM section. data; data segment declaration msg db "Hello, world! ", 0
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.